package cn.iocoder.yudao.module.book.controller.admin.checkIn.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 打卡分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class CheckInPageReqVO extends PageParam {

    @Schema(description = "用户id", example = "31699")
    private Integer userId;

    @Schema(description = "绘本集合")
    private String bookList;

    @Schema(description = "内容")
    private String content;

    @Schema(description = "天数", example = "30294")
    private Integer dayCount;
    
    @Schema(description = "打卡类型：1-学习打卡，2-班级打卡", example = "1")
    private Integer checkInType;
    
    @Schema(description = "班级ID", example = "123")
    private Integer classId;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}